package com.daiqee.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 货架
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午5:47:11
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName("storage_position")
public class StoragePosition extends LogicDeleteFlag{
	
	@TableId(type=IdType.UUID)
    private String stgPosId;	  			//主键id
	
	@TableField(strategy=FieldStrategy.NOT_EMPTY)
	private String  stgPosMark;	  			//位置编号 存放位置的标记符号
	
	@TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String  stgPosNature;			//性质 货架 空地

    private Double  stgPosLength;   		//长度值

    private Double  stgPosWidth;   			//宽度值

    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String  stgPosStatus;		    //当前 存放位的状态 (可存放 少量存放 无法存放)

    private Integer stgPosLayer;      		//只用与对 货架 (货架的层数)

    private String  stgPosRemark;		    //备注

    @TableField(exist=false)
    private String	statusFlag;				//状态标记
    
    public String getStatusFlag() {
		return statusFlag;
	}

	public void setStatusFlag(String statusFlag) {
		this.statusFlag = statusFlag;
	}

	public String getStgPosId() {
        return stgPosId;
    }

    public String setStgPosId(String stgPosId) {
        return this.stgPosId = stgPosId;
    }

    public String getStgPosMark() {
        return stgPosMark;
    }

    public void setStgPosMark(String stgPosMark) {
        this.stgPosMark = stgPosMark == null ? null : stgPosMark.trim();
    }
    
    public String getStgPosNature() {
        return stgPosNature;
    }

    public void setStgPosNature(String stgPosNature) {
        this.stgPosNature = stgPosNature == null ? null : stgPosNature.trim();
    }

    public Double getStgPosLength() {
        return stgPosLength;
    }

    public void setStgPosLength(Double stgPosLength) {
        this.stgPosLength = stgPosLength;
    }

    public Double getStgPosWidth() {
        return stgPosWidth;
    }

    public void setStgPosWidth(Double stgPosWidth) {
        this.stgPosWidth = stgPosWidth;
    }

    public String getStgPosStatus() {
        return stgPosStatus;
    }

    public void setStgPosStatus(String stgPosStatus) {
        this.stgPosStatus = stgPosStatus;
    }

    public Integer getStgPosLayer() {
        return stgPosLayer;
    }

    public void setStgPosLayer(Integer stgPosLayer) {
        this.stgPosLayer = stgPosLayer;
    }

    public String getStgPosRemark() {
        return stgPosRemark;
    }

    public void setStgPosRemark(String stgPosRemark) {
        this.stgPosRemark = stgPosRemark == null ? null : stgPosRemark.trim();
    }
}